package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.util.Date;

/**
 * 资质材料信息对象 sys_qualification_material
 * 
 * @author ruoyi
 * @date 2025-10-27
 */
public class SysQualificationMaterial extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 资质材料信息id */
    private Long qualificationMaterialId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 资质类别 */
    @Excel(name = "资质类别")
    private String qualificationCategory;

    /** 资质状态 */
    @Excel(name = "资质状态")
    private String qualificationStatus;

    /** 有效期 */
    @Excel(name = "有效期")
    private String expirationDate;

    @Excel(name = "图片")
    private String images;

    @Excel(name = "备注")
    private String remark;

    /** 上传时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;

    /**开始时间 */
    private String startDate;

    /**结束时间 */
    private String endDate;

    public void setQualificationMaterialId(Long qualificationMaterialId) 
    {
        this.qualificationMaterialId = qualificationMaterialId;
    }

    public Long getQualificationMaterialId() 
    {
        return qualificationMaterialId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setQualificationCategory(String qualificationCategory) 
    {
        this.qualificationCategory = qualificationCategory;
    }

    public String getQualificationCategory() 
    {
        return qualificationCategory;
    }

    public void setQualificationStatus(String qualificationStatus) 
    {
        this.qualificationStatus = qualificationStatus;
    }

    public String getQualificationStatus() 
    {
        return qualificationStatus;
    }

    public void setExpirationDate(String expirationDate) 
    {
        this.expirationDate = expirationDate;
    }

    public String getExpirationDate() 
    {
        return expirationDate;
    }

    public String getImages() {
        return images;
    }

    public void setImages(String images) {
        this.images = images;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Date uploadTime) {
        this.uploadTime = uploadTime;
    }


    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("qualificationMaterialId", getQualificationMaterialId())
            .append("userId", getUserId())
            .append("qualificationCategory", getQualificationCategory())
            .append("qualificationStatus", getQualificationStatus())
            .append("expirationDate", getExpirationDate())
            .append("remark", getRemark()).append("images", getImages())
                .append("uploadTime", getUploadTime())
                .append("remark", getRemark())
            .toString();
    }
}
